package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 sys_mail
 * 
 * @author ruoyi
 * @date 2023-11-28
 */
public class SysMail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 邮件发送人 */
    @Excel(name = "邮件发送人")
    private Long userId;

    /** 发送邮箱地址 */
    @Excel(name = "发送邮箱地址")
    private String fromMail;

    /** 接收邮箱 */
    @Excel(name = "接收邮箱")
    private String toMail;

    /** 客户id */
    @Excel(name = "客户id")
    private Long candId;

    /** 邮件标题 */
    @Excel(name = "邮件标题")
    private String title;

    /** 邮件内容 */
    @Excel(name = "邮件内容")
    private String content;

    /** 附件地址 */
    @Excel(name = "附件地址")
    private String filePath;

    private String sendTime;

    private Integer type;

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setFromMail(String fromMail) 
    {
        this.fromMail = fromMail;
    }

    public String getFromMail() 
    {
        return fromMail;
    }
    public void setToMail(String toMail) 
    {
        this.toMail = toMail;
    }

    public String getToMail() 
    {
        return toMail;
    }
    public void setCandId(Long candId) 
    {
        this.candId = candId;
    }

    public Long getCandId() 
    {
        return candId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("fromMail", getFromMail())
            .append("toMail", getToMail())
            .append("candId", getCandId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("filePath", getFilePath())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
